import request from '@/utils/request'


export function changeCloseList(data) { //变更关闭-列表
    return request({
        url: '/project-quality/api/changeClose/page',
        method: 'post',
        data
    })
}
export function changeCloseAdd(data) { //变更关闭-添加
    return request({
        url: '/project-quality/api/changeClose/add',
        method: 'POST',
        data
    })
}
export function changeCloseEdit(data) { //变更关闭-修改
    return request({
        url: '/project-quality/api/changeClose/edit',
        method: 'post',
        data
    })
}
export function changeCloseDetail(id) { //变更关闭-单条查询
    return request({
        url: '/project-quality/api/changeClose/'+id,
        method: 'get',
    })
}
export function changeCloseDelete(id) { //变更关闭-单条查询删除
    return request({
        url: '/project-quality/api/changeClose/del/'+id,
        method: 'get',
    })
}
export function changeCloseExport(data) { //设备管理-导出
    return request({
      url: '/project-quality/api/changeClose/situation/export' ,
      responseType: 'arraybuffer',
      method: 'POST',
      data,
    })
  }


